//-
  ztncui - ZeroTier network controller UI
  Copyright (C) 2017-2021  Key Networks (https://key-networks.com)
  Licensed under GPLv3 - see LICENSE for details.

extends network_layout

block net_content
  if network.deleted
    .alert.alert-success
      strong #{network.name} (#{network.nwid}) 被删除

  else
    .alert.alert-danger
      strong 警告无法撤消删除网络
    form(method='POST' action='')
      button.btn.btn-danger(type='submit', name='delete') Delete #{network.name} (#{network.nwid})
      = ' '
      a.btn.btn-default(href='/controller/networks', name='cancel', role='button') 取消

  if errors
    ul
      for err in errors
        li!= err.msg
